$(function() {
	$('form').validate({
		rules: {
			username:'required',
			name:'required',
			email: {required: true, email: true},
			tel:'required'
		}
	});


	if (window.location.search) {
		alert('You have to log off, Then log in to update information');
	}
})